package reservation;

public class WebUtils {

    public static int request = 5;

    public static void waitForAjax() {
        try {
            Thread.sleep(500);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static void waitForLongAjax() {
        try {
            Thread.sleep(2000);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static void waitForNewRequest() {
        try {
            Thread.sleep(request * 1000);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
